package android.online;

import android.online.ICNSOnLineCallback;

/**
 * Interface for datacollect module of gateway.
 * {@hide}
 */
interface ICNSOnLineService {
    const String SERVICE_NAME = "online_service";

    String getBrand();

    boolean isOnlineServiceOn();

    /**
    * getCar Manufacturer
    */
    int getManufacturer();

    /**
    * register callback
    */
    void registerOnLineCallback(ICNSOnLineCallback callback);

    /**
    * http://cnninvmcnflnc01:8090/display/PCNS3/Concept%3A+Variants
    * variant = 0 for unknown
    * 301001: CHN VW (variant = 1)
    * 301002: HKG/MAC VW (variant = 2)
    * 301003: TWN VW (variant = 3)
    * 301004: TWN Skoda (variant = 4)
    * 301005: CHN Skoda (variant = 5)
    * 701001: CHN VW (variant = 1)
    * 701002: HKG/MAC VW (variant = 2)
    * 701003: TWN VW (variant = 3)
    * 701004: TWN Skoda (variant = 4)
    * 701005: CHN Skoda (variant = 5)
    */
    int getVariant();
}
